home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
amigaoscd
/
amigapluscd
/
AP-Website
/
news
/
admin
/
change_author.php
< prev
next >
Wrap
Text File
|
2002-01-27
|
1KB
|
49 lines
<html>
<head>
<title>AmigaPlus News Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#66CCFF" text="#000000">
<?php
$server = "db04.puretec.de";
$db = "db24905524";
$login = "p343302";
$pass = "90f42902";
$dbwww = mysql_connect($server,$login,$pass);
mysql_select_db($db,$dbwww);
$query = "select id, short_name, full_name from amigaplusnews_authors where id = $authorentry limit 1";
$query_result = mysql_query($query,$dbwww);
list($id,$short,$long) = mysql_fetch_row($query_result);
?>
<p><b><font size="+1">AmigaPlus News Admin</font></b></p>
<p><a href="index.php">zurück</a></p>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td bgcolor="#0099FF"><b>Autor ändern </b><font size="-1"></font></td>
</tr>
<tr>
<td>
<form name="update_author" method="post" action="update_author.php">
<input type="hidden" name="id" value="<?php echo $id ?>">
<p>Kurzform: [
<input type="text" name="short_name" maxlength="10" value="<?php echo $short ?>">
]<br>
Voller Name:
<input type="text" name="full_name" maxlength="100" size="30" value="<?php echo $long ?>">
<br>
<input type="submit" name="submit" value="speichern">
</p>
</form>
</td>
</tr>
</table>
<p> </p>
</body>
</html>